package com.ark.frigate.zookeeper.ext;

import org.springframework.beans.BeansException;
import org.springframework.beans.factory.config.ConfigurableListableBeanFactory;
import org.springframework.context.support.AbstractApplicationContext;
import org.springframework.stereotype.Component;

import lombok.extern.slf4j.Slf4j;

/**
 * @Author ZengWeiLong
 * @Description Copy Right Beryonca
 * @Date 2023/2/15 1:24 PM
 * @Version 1.0
 */
@Slf4j
@Component
public class D2AbstractApplicationContext extends AbstractApplicationContext {

    @Override
    public void refresh() throws BeansException, IllegalStateException {
        log.info("============2.AbstractApplicationContext.refresh========");
        super.refresh();
    }

    @Override
    protected void refreshBeanFactory() throws BeansException, IllegalStateException {

    }

    @Override
    protected void closeBeanFactory() {

    }

    @Override
    public ConfigurableListableBeanFactory getBeanFactory() throws IllegalStateException {
        return null;
    }
}
